package com.minivision.fdiot.repository.mysql;

import org.springframework.data.jpa.repository.JpaRepository;

import com.minivision.fdiot.entity.AppInfo;

public interface AppRepository extends JpaRepository<AppInfo, Long> {

  AppInfo findByAppNameEquals(String name);
  
  AppInfo findByAppKey(String appKey);

  void deleteByAppKey(String appKey);
  
}
